projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae057f
)
shortcutswindow: Make the search button square
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Mar 2016 11:51:48 +0000
(07:51 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 21 Mar 2016 16:00:02 +0000
(12:00 -0400)
Add the image-button style class to this button (this doesn't
work automatically here, since this is a toggle button).
https://bugzilla.gnome.org/show_bug.cgi?id=763604
gtk/gtkshortcutswindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkshortcutswindow.c
b/gtk/gtkshortcutswindow.c
index 109c17fc2fbbc7340d737344528bd85f4ee8a2c4..4a1b5bccb602226c97188d675d78ce790d7493a0 100644
(file)
--- a/
gtk/gtkshortcutswindow.c
+++ b/
gtk/gtkshortcutswindow.c
@@
-827,6
+827,7
@@
gtk_shortcuts_window_init (GtkShortcutsWindow *self)
NULL),
"visible", TRUE,
NULL);
+ gtk_style_context_add (gtk_widget_get_style_context (search_button), "image-button");
gtk_container_add (GTK_CONTAINER (priv->header_bar), GTK_WIDGET (search_button));
priv->main_box = g_object_new (GTK_TYPE_BOX,